clear all
set more off

program main
    * *** Add required packages from SSC to this list ***
    local ssc_packages "mmerge estout ivreg2 carryforward outreg2 asreg egenmore"
    * *** Add required packages from SSC to this list ***

	foreach pkg in `ssc_packages' {
		if !missing("`pkg'") {
            dis "Installing `pkg'"
            quietly ssc install `pkg', replace
        }
    }

end

main

